home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / alarmsg.sql < prev    next >
Text File  |  2000-05-12  |  990b  |  25 lines

  1. /* RCSVER $Id: alarmsg.sql,v 1.4 1999-12-02 16:49:59-06 randy CURRENT $ */
  2. /* *************************************************************************
  3. *        Copyright (C) 1998, Agent Systems, Inc. All Rights Reserved.
  4. *
  5. * Name:        alarmsg.sql 
  6. * Date:        02/19/1999
  7. * memo:        Randy Wood
  8. * Description:    Create the alarmsg table. This table contains definitions
  9. *        of all possible alarm conditions, and associates a 
  10. *        sound and priority to each. 
  11. * Changes:
  12. ************************************************************************* */
  13. CREATE TABLE alarmsg
  14. (
  15.     alarm_id    NUMBER(38),    /* Unique ID for this alarm */
  16.     priority    NUMBER(38),    /* Alarm priority */
  17.     post_flag    NUMBER(38),    /* Post this alarm to the file */
  18.     sound_class    NUMBER(38),    /* Sound to associate */
  19.     descr        VARCHAR2(20),    /* Description of alarm */
  20.     config_num    NUMBER(38)
  21.         CONSTRAINT ref1_alarmsg REFERENCES configset(num)
  22.         ON DELETE CASCADE,
  23.     CONSTRAINT pk_alarmsg PRIMARY KEY (alarm_id, config_num)
  24. );
  25.